home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Misc / msql-1.0.6 / doc / HISTORY < prev    next >
Text File  |  1995-05-28  |  15KB  |  369 lines

  1. mSQL 1.0 Patch 6        29 - May - 1995
  2. ---------------------------------------
  3.  
  4.     o Added support for table aliases in joins.  Thanks to
  5.         Mark Onyschuk <mark@oa.guild.org> for his patch
  6.         (I didn't use it but it made me complete the work I'd
  7.         started).
  8.     o Added multi-language error messages with help from
  9.         Linux Nils <gl055@appl2.hrz.uni-siegen.de>.
  10.     o Fixed bug in joins where the order of the tables
  11.         could cause different results.
  12.     o Added extra symbols to the lexer from ANSI.
  13.     o Added support for inserts without field spec's based on an
  14.         old patch from Paul Reithmuller <par@sequent.com>.
  15.     o Added support for VISUAL and EDITOR environment vars
  16.         in the monitor.
  17.     o Fixed a memory leak in extractValues().
  18.     o Fixed definition of key and outerKey in joinTables().
  19.     o Fixed problem with OR clauses in joins.
  20.     o Fixed problem with OR clauses in update/delete/select where
  21.         the primary key is involved.
  22.     o Added support for Scientific Notation in reals using a patch
  23.         from Stan Dallas <stan@analogy.com>
  24.     o Added support for server port number to be in /etc/services
  25.         or in MSQL_UNIX_PORT and MSQL_TCP_PORT variables
  26.     o Fixed NULL handling in updates, the protocol and libmsql
  27.         ( NOTE : a NULL value is represented by a NULL pointer
  28.             in the returned row.  If your application
  29.             doesn't check the data before it uses it you may
  30.             be introuble with this one).
  31.     o Added NULL support to mSQL monitor
  32.     o Added NULL support to relshow
  33.     o Added optional ANSI C prototype support to msql.h
  34.     o mSQL protocol now at level 5 
  35.         ( NOTE : you'll need to relink your apps)
  36.  
  37.  
  38. mSQL 1.0 Patch 5        15 - Feb - 1995
  39. ---------------------------------------
  40.  
  41.     o Fixed bug in long text field handling
  42.     o Added C++ support for msql.h
  43.     o Added support for MSQL_HOME environ variable in msqld
  44.     o Added HAVE_MMAP defines around new munmap() call
  45.     o Extracted the install from the Makefile to an external script
  46.     o Replaced "-c -o $obj" with "-c" in the makegen macros
  47.     o Added partial match optimisation for the outer loop of joins
  48.     o Fixed integer handling for Cray (64bit)
  49.  
  50.  
  51. mSQL 1.0 Patch 4        8 - Feb - 1995
  52. --------------------------------------
  53.  
  54.     o Moved target stuff to a script as bash dies on the Makefile
  55.     o Fixed bug in net.c regarding non-terminating reads
  56.     o Fixed memory leak left after 1.0.3 testing
  57.     o Added identifier length checks
  58.     o Fixed Multiple free problem with tmp tables values
  59.     o Fixed memory leak with tmp condition list values
  60.     o Fixed formatPacket() to handle long char fields (>1024)
  61.     o Added hash based keyword lookup to parser  (speedup)
  62.     o Reduced the use of bzero and bcopy (speedup)
  63.     o Inlined a couple of functions that are called frequently (speedup)
  64.  
  65.  
  66. mSQL 1.0 Patch 3        1 - Feb - 1995
  67. --------------------------------------
  68.  
  69.     o Fixed conInfo index bug
  70.     o Fixed net.c to ensure full reads and writes
  71.     o Added 64-bit int support for Crays
  72.     o Fixed Cray stuff in the README
  73.     o Added msqlClose() to msql.h
  74.     o Added AIX sys/select.h support to common/config.h.in
  75.     o Added further version info to msqladmin
  76.     o Added calls to msqlClose() in relshow
  77.     o Added error reporting for multiple primary keys in create
  78.     o Fixed key handling in "complex" conditions
  79.     o Added socket details to debugging output (general in msqld
  80.         and api in libmsql).
  81.     o Started on primary key support withing joins
  82.     o Reverted to an older version of autoconf so that it
  83.         will build under SunOS 4.1.3
  84.  
  85. mSQL 1.0 Patch 2        18 - Jan - 1995
  86. --------------------------------------
  87.  
  88.     o Fixed mmap() problem with key remapping
  89.     o fixed -h option on msql
  90.     o fixed tabs in # defines in site.h for AIX
  91.     o Added "grep -i" to killer test for AIX's time output
  92.     o Made net.c a bit more robust
  93.     o Fixed LIKE field over-run problem
  94.     o Added AIX stuff to sys-arch
  95.     o Upgraded to the current version of autoconf
  96.     o Fixed long field/table name over-runs (core dump)
  97.     o Tightened up file and directory modes
  98.     o Added test for max number of connections
  99.     o Fixed socket handling on failed connection in libmsql
  100.     o Fixed makegen macros for SVR4.2
  101.  
  102.  
  103. mSQL 1.0 Patch 1        5 - Jan - 1995
  104. --------------------------------------
  105.  
  106.     o Added -h option to msql
  107.     o Added MSQL_HOST support to msql
  108.     o Fixed arg count in call to msqlLoadAcl() in msqld.c
  109.     o Fixed fchmod() problem in makedepend for SCO
  110.     o Added ACL support for admin commands from "localhost" as
  111.         SCO doesn't have UNIX sock's so admin commands come
  112.         from localhost over TCP.
  113.     o Fixed NULL value insert and condition core dumps
  114.     o Fixed comments within char literals in the terminal monitor
  115.     o Added -q mode for msqladmin 
  116.     o Changed HOST to MSQLHOST in rtest to overcome default environments
  117.     o Removed myself from run_daemon so that I don't get other
  118.         peoples crash reports
  119.     o Added mode setting for install directories to mkinstalldirs
  120.     o Fixed install.mm and libinstall.mm to only chown if owned by root
  121.     o Fixed yyerror() so that a NULL yytext doesn't cause a SEGV
  122.     o Added quote escaping to msqldump
  123.     o Added "integer" and "smallint" to the lexer
  124.     o Fixed field list over-run and protocol screwup in msqlListFields()
  125.     o Added on-the-fly INT to REAL conversion on inserts
  126.     o Added filename and line number info to malloc and mmap debugging
  127.     o Fixed huge memory leak in ident structure handling
  128.     o Fixed remapping during keyed inserts (50% less map/unmap calls)
  129.     o Fixed int active comparisons
  130.     o Forced a buffer reload after deleteRow() if mmap() not in use.
  131.         Thanks to Pierre Dupre (Pierre.Dupre@metro.fr) for
  132.         finding and fixing this problem on his Motorola.
  133.     o Fixed NULL row free in createSortedTable(), createDistinctTable()
  134.     o Added malloc() and mmap() leak detection in debug modes
  135.     o Added table cache cleanup on exit.
  136.     o Added continuation prompting to monitor
  137.  
  138.  
  139.  
  140. mSQL 1.0                14 - Dec - 1994
  141. ---------------------------------------
  142.  
  143.     o Fixed select loop bug (bad FD on partial client connection)
  144.     o Added read loop timeout for those with interruptable syscalls
  145.     o Fixed one-line bug in readKey() that cause key lookups to fail
  146.     o Merged msqlsave by Igor Romanenko (igor@frog.kiev.ua) into the
  147.         distribution as msqldump.  Added ability to dump entire
  148.         databases and reformated to match the rest of the code.
  149.     o Fixed call to /bin/echo in makegen for bash
  150.     o Added #ifdef's for signal names around calls to signal()
  151.     o Added DISTINCT operator to SELECT's
  152.     o Fixed bad type checking in writeKey()
  153.     o Fixed key remapping bug (wasn't remapped between inserts).
  154.     o Ported code to FreeBSD 2.0 (including getting around a
  155.         compiler bug and a _very_ wierd shell!)
  156.     o Recoded the lex scanner in C (msql_lex.c)
  157.     o Added support for escaped data in text literals
  158.     o Recoded text literal code to handle 8-bit data rather than
  159.         just strings (i.e. no strlen(), strcpy() etc.)
  160.     o Added Version info to the server
  161.     o Added 'version' command to msqladmin
  162.     o Added '-h host' option to all commands
  163.     o Removed support for MSQL_HOST env var as -h does the job better
  164.     o Added '-q' flag to msql 
  165.     o Added regession test suite
  166.  
  167.  
  168. mSQL 0.3 Beta Patch 1    28 - Nov - 1994
  169. ---------------------------------------
  170.  
  171.     o Fixed bug that caused the server to go into an endless read loop
  172.         on a bad client crash (SIGPIPE related)
  173.     o Added argc test to msqladmin
  174.     o Fixed POSIX_SOURCE garbage in X's headers for makedepend
  175.     o Recoded signal handling in makedepend/main.c so as not to
  176.         use sigaction() and friends (just use signal() )
  177.     o Added "proctitle" debugging option
  178.     o Added "mmap" debugging option
  179.     o Fixed mmap() key file seg fault after re-map
  180.     o Generally cleanup up the mmap() based code.
  181.     o Added support for /bin/time being in places other than /bin
  182.         to the killer test.
  183.     o Fixed srand() type declaration problem for Linux in libmsql.c
  184.     o Added support for GNU time in the killer script
  185.     
  186.  
  187. mSQL 0.3 Beta        21 - Oct - 1994
  188. ---------------------------------------
  189.  
  190.     o Repackaged Alpha 3 for a more public Beta release
  191.  
  192.  
  193. mSQL 0.3 Alpha 3    20 - Oct - 1994
  194. ---------------------------------------
  195.     
  196.     o Added end-of-query marker handling
  197.  
  198.     
  199. mSQL 0.3 Alpha 2    18 - Oct - 1994
  200. ---------------------------------------
  201.  
  202.     o Fixed "echo -n" in make targets
  203.     o Removed X includes within makedepend
  204.     o Fixed trailing space in site.mm.in
  205.     o Added a missing check for dirent/direct in msqldb.c
  206.     o Clean up tmp dir test in setup
  207.  
  208. mSQL 0.3 Alpha        17 - Oct - 1994
  209. ---------------------------------------
  210.  
  211.     o Added access control
  212.     o Fixed struct dirent/direct portability
  213.     o Improved error reporting during connection setup
  214.     o Moved database creation and deletion into the server
  215.     o Fixed msqladmin to use the create/drop in the server
  216.     o Added code to invalidate any cache entry relating to
  217.         a DB if the entire DB is dropped.
  218.     o Added support for qualified fields using ident_t structs
  219.     o Fixed setupFields and setupConds so that all ident's are
  220.         qualified internally.
  221.     o Added support for non-textual values (e.g. field to field
  222.         comparisons) using val_t structs
  223.     o Added temporary result table support
  224.     o Added joins
  225.     o Added code to ensure reads and writes handled the full amount
  226.         of data
  227.     o Added selcet ordering
  228.     o Removed all global cacheEntry pointer references
  229.     o Added PID_DIR test to setup
  230.     o Added VISUAL environ variable support to query editing within
  231.         the mSQL monitor.
  232.     o Fixed a one line bug in the cache entry free()'ing code that
  233.         caused bad memory hunks to get into the cache (thanks
  234.         for the help Andreas).
  235.     o Added per table cache entry read buffering to improve performance
  236.         of joins etc. if there's no mmap().
  237.     o Fixed 64-bit pointer problems.
  238.     o Fixed quoting in generated Makefiles for OSF/1's shell
  239.     o Added makedepend stuff to makegen.
  240.     o Added portability for AIX <select.h> and struct fd_set
  241.     o Added type checking to conditionals
  242.     o Added fudge to map int's to reals for things like "2.3 > 2"
  243.     o Fixed the client lib so that a data flow from the server could
  244.         be interrupted and terminated by an error message. (e.g.
  245.         a select fails half way through with an error message)
  246.     o Fixed null handling so that queries work as expected
  247.     o Added support for non-root installations
  248.  
  249.  
  250.  
  251. mSQL 0.2 patch 3        9 - Sep - 1994
  252. ---------------------------------------
  253.  
  254.     o Added the License file to the distribution.  Make install
  255.         was looking for it when it wasn't there.
  256.  
  257.  
  258. mSQL 0.2 patch 2        8 - Sep - 1994
  259. ---------------------------------------
  260.  
  261.     o Modified the killer test script so that it can use both BSD
  262.         and SysV styled /bin/time outputs
  263.     o Moved the large buffer used by readKey() into the global scope
  264.         so that it wasn't put onto the stack (small stack limits
  265.         were failing)
  266.     o Purify'd the sucker within an inch of it's life.  This should
  267.         fix the problems seen on NeXTs as there were many places
  268.         where free memory reads and the like were going on.  Huge
  269.         levels of thanks an appreciation to Anthony Baxter for
  270.         actually doing the Purify'ing (repeatedly) as I don't have 
  271.         a copy.
  272.     o Added a LINKER variable to site.mm so that a one line change
  273.         could be made to force the use of other linkers like
  274.         Purify.
  275.     o Added checks to ensure that a database had been selected prior
  276.         to performing operations such as msqlListFields() etc.
  277.     o Added a call to msqlClean() from inside yyerror() so that the
  278.         internal guff is cleaned if the query has a syntax
  279.         error.
  280.     o Fixed array bounds over-run error in writeRow() if a row
  281.         buffer was provided.
  282.     o Added a dummy variable info struct to the result handles
  283.         returned by msqlListDBs() msqlListTables() so that they
  284.         could be treated as standard query results.
  285.     o Esured that msqlListFields() retuned a result handle with a 0
  286.         row data table.
  287.  
  288.  
  289.  
  290. mSQL 0.2 patch 1    22 - Aug - 1994
  291. ---------------------------------------
  292.  
  293.     o The cache routines were often using an old global pointer into the
  294.         table cache structure (tableDef) rather than dereferencing
  295.         the current cache entry pointer.  This caused the server
  296.         to often use the incorrect table defininition.
  297.  
  298.  
  299. mSQL 0.2          19 - Aug - 1994
  300. ---------------------------------------
  301.  
  302.     o Added mmap() support to readRow() and writeRow() 
  303.     o Added primary keys to database, field definition and protocol
  304.     o Added code to invalidate the table cache entry of a table if it
  305.         is dropped.  This fixes the bug whereby a table could be
  306.         recreated and the server still used the old definition.
  307.     o Profiled selects a little to improve performance.  The parser now
  308.         sets a flag if it sees a field wildcard in a select.  This
  309.         ensures that expandFieldWildcards() is only called when it
  310.         is needed.
  311.     o Merged in par's mod's for "not null" support. 
  312.     o Fixed bug in updateValues() introduced by the "not null" patch
  313.     o Added checkNullFields() to utilise the new notnull field and
  314.         byte to ensure notnull fields are in fact notnull.  An
  315.         insert or an update will now fail if a notnull field has
  316.         no value.
  317.     o Added LIKE clause for char type comparisons.  The SQL regexp
  318.         syntax is mapped into "unix" regexp syntax and Henry
  319.         Spencer's regexp library is used for the evaluation.
  320.     o Added trap code, puntClient(), to handle the SIGPIPE generated if 
  321.         a client bails out after submitting a query but before the 
  322.         result is sent (i.e. server writes down a closed socket).
  323.     o Added support for negative int values (should have been in there
  324.         to start with).
  325.     o Removed case sensitivity from SQL keywords
  326.     o API modified :-
  327.         msqlStoreResult() added returning result*
  328.         msqlFetchData() is now msqlFetchTable() taking result*
  329.         msqlFetchRow() added taking result*
  330.         msqlInitDB() now called msqlSelectDB()
  331.         msqlConnect() takes host or NULL to revert to old behaviour
  332.         msqlConnect() returns server socket
  333.         all routines that talk to the server now take socket
  334.     o API data types :-
  335.         m_table is now m_data
  336.         m_result added as the query result handle
  337.     o Protocol modified :-
  338.         now handles null's and keys
  339.         username passed to server when msqlInitDB() called.
  340.         field info is now returned from a select
  341.     o Cleaned up client library and removed the references to
  342.         debug() unless MINERVA_DEBUG defined.  Debug still
  343.         included in the server
  344.     o Fixed bug in real handling (had atof() returning a double)
  345.     o Added autoconf test for sys_siglist
  346.     o Found and fixed a bug in the table cache code that caused a
  347.         core dump if the cache was rolled over.
  348.     o Found and fixed one of the memory leaks in select calls
  349.     o Implemented new data/key reading/writing mechanisms for use
  350.         with disk files as the mmap() code had to be backed out.
  351.         The new ones are faster than the old ones anyway.
  352.     o Added internal debugging to the API with an internal copy of
  353.         the debug code.
  354.     o Added heaps more debugging to the server
  355.         
  356.  
  357.  
  358. mSQL 0.1 patch 1    5 - Jul - 1994
  359. ---------------------------------------
  360.  
  361.     o Fixed a stupid problem with the Makefiles generated by makegen.  
  362.         The release version had problems with "make install"
  363.  
  364.  
  365. Release 0.1        30 - Jun - 1994
  366. ---------------------------------------
  367.  
  368.     o How can there be any history!  This is the first release :-)
  369.